import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { AppComponent } from './app.component';
import { EditorComponent } from './page/editor/editor.component';
import { MdPipe } from './pipe/md.pipe';
import { MdService } from './service/md.service';
import {NgxElectronModule} from 'ngx-electron';
import { MathJaxDirective } from './directive/math-jax.directive';

@NgModule({
  declarations: [
    AppComponent,
    EditorComponent,
    MdPipe,
    MathJaxDirective
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpClientModule,
    NgxElectronModule
  ],
  providers: [MdService],
  bootstrap: [AppComponent]
})
export class AppModule { }
